﻿<%@ Assembly Name="$SharePoint.Project.AssemblyFullName$" %>
<%@ Import Namespace="Microsoft.SharePoint.ApplicationPages" %>
<%@ Register Tagprefix="SharePoint" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register Tagprefix="Utilities" Namespace="Microsoft.SharePoint.Utilities" Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Assembly Name="Microsoft.Web.CommandUI, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Import Namespace="Microsoft.SharePoint" %>
<%@ Assembly Name="Microsoft.Web.CommandUI, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register Tagprefix="wssawc" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register TagPrefix="wssuc" TagName="LinksTable" src="/_controltemplates/LinksTable.ascx" %> 
<%@ Register TagPrefix="wssuc" TagName="InputFormSection" src="/_controltemplates/InputFormSection.ascx" %> 
<%@ Register TagPrefix="wssuc" TagName="InputFormControl" src="/_controltemplates/InputFormControl.ascx" %> 
<%@ Register TagPrefix="wssuc" TagName="LinkSection" src="/_controltemplates/LinkSection.ascx" %> 
<%@ Register TagPrefix="wssuc" TagName="ButtonSection" src="/_controltemplates/ButtonSection.ascx" %> 
<%@ Register TagPrefix="wssuc" TagName="ActionBar" src="/_controltemplates/ActionBar.ascx" %> 
<%@ Register TagPrefix="wssuc" TagName="ToolBar" src="/_controltemplates/ToolBar.ascx" %> 
<%@ Register TagPrefix="wssuc" TagName="ToolBarButton" src="/_controltemplates/ToolBarButton.ascx" %> 
<%@ Register TagPrefix="wssuc" TagName="Welcome" src="/_controltemplates/Welcome.ascx" %>
<%@ Register TagPrefix="wssuc" TagName="IisWebServiceApplicationPoolSection" src="~/_admin/IisWebServiceApplicationPoolSection.ascx" %>
<%@ Register TagPrefix="wssuc" TagName="ContentDatabaseSection" src="~/_admin/ContentDatabaseSection.ascx" %>
<%@ Register Tagprefix="OSRVWC" Namespace="Microsoft.Office.Server.WebControls" Assembly="Microsoft.Office.Server, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %> <%@ Register Tagprefix="OSRVUPWC" Namespace="Microsoft.Office.Server.WebControls" Assembly="Microsoft.Office.Server.UserProfiles, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %> <%@ Register Tagprefix="SPSWC" Namespace="Microsoft.SharePoint.Portal.WebControls" Assembly="Microsoft.SharePoint.Portal, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %> <%@ Register Tagprefix="MSSWC" Namespace="Microsoft.SharePoint.Portal.WebControls" Assembly="Microsoft.Office.Server.Search, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %> <%@ Register Tagprefix="SharePoint" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register Tagprefix="asp" Namespace="System.Web.UI" Assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" %>
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="CreateNorthwindApplication.aspx.cs" Inherits="Northwind.ServiceApplication.AdminUI.CreateNorthwindApplication" MasterPageFile="~/_layouts/dialog.master" %>

<asp:Content ID="Content1" contentplaceholderid="PlaceHolderDialogHeaderPageTitle" runat="server">
    <asp:Literal ID="litPageTitle" runat="server"></asp:Literal>
</asp:Content>

<asp:Content ID="Content2" contentplaceholderid="PlaceHolderDialogDescription" runat="server">
    <asp:Literal ID="litPageDescription" runat="server">Specify the name and databases to use for this Service Application. The settings you specify here can be changed later using the Properties button in the service Application Management page.</asp:Literal>
</asp:Content>

<asp:Content ID="Content3" contentplaceholderId="PlaceHolderHelpLink" runat="server">
</asp:Content>

<asp:Content ID="Content4" contentplaceholderId="PlaceHolderDialogImage" runat="server">
</asp:Content>

<asp:Content ID="Content5" contentplaceholderid="PlaceHolderDialogBodyMainSection" runat="server">
        <SharePoint:FormDigest ID="FormDigest1" runat="server" />
	<table width="100%" class="ms-propertysheet" cellspacing="5" cellpadding="0" border="0"> 
            <wssuc:InputFormSection runat="server"
                Title="Name">
                    <Template_Description>
                        <asp:label Id="lblApplicationDescription" Text="Enter a unique name for the Northwind Service application." runat="server" />
                        <br /><br />
                    </Template_Description>
                <Template_InputFormControls>
                    <wssuc:InputFormControl runat="server">
                        <Template_Control>
                            <SharePoint:InputFormTextBox runat="server" id="txtBoxServiceName" MaxLength="50" title= "" />
    			    <SharePoint:InputFormRequiredFieldValidator runat="server"
				    id="vdtxbServiceName"
				    ControlToValidate="txtBoxServiceName" 
				    ErrorMessageLocId="ProfileService_NameError_Text" />
                        </Template_Control>
                    </wssuc:InputFormControl>
                </Template_InputFormControls>      
            </wssuc:InputFormSection>

            <wssuc:IisWebServiceApplicationPoolSection runat="server" id="appPoolSection">
            </wssuc:IisWebServiceApplicationPoolSection>           

            <wssuc:ContentDatabaseSection Id="dbSection_Northwind" 
                Title="Northwind Database" 
                IncludeSearchServer="false" 
                Collapsible="true"
                OnDatabaseSubmitted="ValidateNorthwindDatabase"
                IncludeFailoverDatabaseServer="false"
                runat="server" />

	    <wssuc:InputFormSection runat=server id="proxyGroupSection"
	            Title="Default Proxy Group" >
                    <Template_Description>
                        <asp:label Id="DescriptionLabelDefaultProxyGroup" Text="Specify if you want proxy of this Northwind Service to be a part of default proxy group on this farm." runat="server" />
                        <br /><br />
                    </Template_Description>
                    <Template_InputFormControls>
                        <wssuc:InputFormControl runat="server">
                            <Template_Control>
                                <asp:DropDownList id="defaultProxyGroupDropDown" runat="server">
                                    <asp:ListItem Value="Yes" Selected="True" Text="Yes"/>
                                    <asp:ListItem Value="No" Text="No" />
                                </asp:DropDownList>
                            </Template_Control>
                        </wssuc:InputFormControl>
                    </Template_InputFormControls>
	    </wssuc:InputFormSection>
    </table>
</asp:Content>

